.heading-container {
    display: flex;
    flex-direction: row;
    margin: 1rem;
    align-items: center;
}

.heading-container h3 {
    margin: 0;
}

.heading-button-container {
    margin-left: auto;
}

.heading-button {
    margin-left: 1rem;
}

.items-container {
    margin: 0 1rem;
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.item-button {
    display: block;
    position: relative;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.item-button-inner-container {
    text-align: left;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.item-date {
    font-size: smaller;
    margin-bottom: 0.25rem;
}

.item-delete {
    position: absolute;
    right: 0.25rem;
    top: 0.5rem;
    visibility: hidden;
}

.item-button:hover .item-delete {
    visibility: visible;
}

.item-last-message {
    /* Show a few lines of text and then an ellipsis */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    overflow-wrap: break-word;
    word-break: break-all;
}
